package com.ls.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author baomidou
 * @since 2021-11-02 15:23:09
 */
@Getter
@Setter
@ApiModel(value = "Department对象", description = "部门表")
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("部门ID,主键自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("成立时间")
    private LocalDateTime createTime;


    public static final String ID = "id";

    public static final String DEPT_NAME = "dept_name";

    public static final String CREATE_TIME = "create_time";

}
